﻿@model Huirui.Cavan.Presentation.ViewModel.StockModule.IWareHouseViewModel
@{
    var selectWareHouseWindow = "selectWareHouseWindow" + Model.Purpose;
    var wareHouseTableid = "wareHouses" + Model.Purpose;
    var doSelectWareHouse = "doSelectWareHouse" + Model.Purpose;
}
<div id="@selectWareHouseWindow" class="easyui-window" data-options="closed:true,minimizable:false,maximizable:false,collapsible:false,title:'@Html.Raw("选择仓库")',modal:true" style="width: 600px; height: 400px; padding: 2px;">
    @using (Html.BeginForm(ActionConst.SEARCH, ControllerConst.WAREHOUSE, FormMethod.Post, new { id = "searchWareHouse" + Model.Purpose }))
    { 
        <input type="submit" value="搜索" />
        @Html.TextBoxFor(m => m.SearchParam.ID)
    }
    <a href="#" id="@doSelectWareHouse" class="easyui-linkbutton" iconcls="icon-ok" plain="true">确定仓库</a>
    <table id="@wareHouseTableid" title="存货列表">
    </table>
</div>

